package stack;


public class Test {

    public static void main(String[] args) {
        Stack<String> stack = new Stack<>();
        stack.push("李博飞");
        stack.push("li");
        stack.push("bo");
        stack.push("fei");
        while(!stack.isEmpty()){

            System.out.println(stack.pop());
        }
    }
}
